// BWGridAttributes.h -- visual tweakable attributes for grids

#import <Cocoa/Cocoa.h>

// do this stuff, or actual tweakable values?

typedef enum {
    kWeight_1_4_pt = 25,
    kWeight_1_3_pt = 33,
    kWeight_1_2_pt = 50,
    kWeight_1_pt = 100,
    kWeight_2_pt = 200
} BWGridAttributes_LineWeight;


typedef enum {
    kColor_Black,
    kColor_DarkGray,
    kColor_Gray,
    kColor_LightGray
} BWGridAttributes_LineColor;


@interface BWGridAttributes : NSObject <NSCoding>
{
    BWGridAttributes_LineWeight minorWeight;
    BWGridAttributes_LineColor minorColor;

    BOOL showMajorLines;
    int majorLinesEvery;

    BWGridAttributes_LineWeight majorWeight;
    BWGridAttributes_LineColor majorColor;
}

- (void) setMinorLineWeight: (BWGridAttributes_LineWeight) weight;
- (BWGridAttributes_LineWeight) minorLineWeight;
- (float) minorLineWeightPoints;

- (void) setMajorLineWeight: (BWGridAttributes_LineWeight) weight;
- (BWGridAttributes_LineWeight) majorLineWeight;
- (float) majorLineWeightPoints;

- (void) setMinorLineColor: (BWGridAttributes_LineColor) color;
- (BWGridAttributes_LineColor) minorLineColor;
- (NSColor *) minorLineColorColor; // uh....

- (void) setMajorLineColor: (BWGridAttributes_LineColor) color;
- (BWGridAttributes_LineColor) majorLineColor;
- (NSColor *) majorLineColorColor; // uh....

- (void) setShowMajorLines: (BOOL) yesNo;
- (BOOL) showMajorLines;

- (void) setMajorLinesEvery: (int) every;
- (int) majorLinesEvery;

@end // BWGridAttributes


// binding jazz

// @"lineWeightNames"
// @"lineColorNames"


